home *** CD-ROM | disk | FTP | other *** search
- §§push(true);
- §§push(false);
- §§push(false);
- §§push(true);
- while(true)
- {
- if(§§pop())
- {
- }
- if(§§pop())
- {
- }
- if(§§pop())
- {
- break;
- }
- §§push(true);
- §§push(false);
- }
- if(!e.f)
- {
- e.f = new g();
- }
- §§pop();
- if(!e.f.h)
- {
- e.f.h = new g();
- }
- §§pop();
- if(!e.f.h[§§constant(4)])
- {
- var _loc2_ = f.h[§§constant(4)] = function()
- {
- }[§§constant(5)];
- f.h[§§constant(4)] = function()
- {
- }[§§constant(6)] = function(num, container)
- {
- var _loc3_ = 0;
- var _loc1_ = eval(§§constant(7))[§§constant(8)](container);
- var _loc2_ = eval(§§constant(7))[§§constant(8)](num);
- while(_loc1_ > _loc2_)
- {
- _loc1_ -= _loc2_;
- _loc3_ = _loc3_ + 1;
- }
- return _loc3_;
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(9)] = function(num, digits)
- {
- if(digits <= 0)
- {
- return eval(§§constant(7))[§§constant(10)](num);
- }
- var _loc4_ = eval(§§constant(7))[§§constant(11)](10,digits);
- var _loc2_ = String(eval(§§constant(7))[§§constant(10)](num * _loc4_) / _loc4_);
- if(_loc2_[§§constant(13)](§§constant(12)) == -1)
- {
- _loc2_ += §§constant(14);
- }
- var _loc6_ = _loc2_[§§constant(15)](§§constant(12));
- var _loc3_ = digits - _loc6_[1][§§constant(16)];
- var _loc1_ = 1;
- while(_loc1_ <= _loc3_)
- {
- _loc2_ += §§constant(17);
- _loc1_ = _loc1_ + 1;
- }
- return Number(_loc2_);
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(18)] = function(num, sigDigs)
- {
- num = Number(num);
- if(§§constant(19)(num))
- {
- return num;
- }
- var _loc2_ = eval(§§constant(7))[§§constant(21)](eval(§§constant(7))[§§constant(20)](eval(§§constant(7))[§§constant(8)](num)) / 2.302585092994046);
- if(num == 0)
- {
- _loc2_ = 0;
- }
- var _loc5_ = eval(§§constant(7))[§§constant(11)](10,_loc2_);
- var _loc3_ = num / _loc5_;
- _loc3_ = f.h[§§constant(4)][§§constant(9)](_loc3_,sigDigs - 1);
- var _loc4_ = _loc3_;
- if(_loc2_ != 0)
- {
- _loc4_ += §§constant(22) + _loc2_;
- }
- return _loc4_;
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(23)] = function(x1, y1, x2, y2)
- {
- var _loc1_ = eval(§§constant(7))[§§constant(8)](x1 - x2);
- var _loc2_ = eval(§§constant(7))[§§constant(8)](y1 - y2);
- return eval(§§constant(7))[§§constant(24)](eval(§§constant(7))[§§constant(11)](_loc1_,2) + eval(§§constant(7))[§§constant(11)](_loc2_,2));
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(25)] = function(ang)
- {
- if(ang > 0)
- {
- return ang - 360;
- }
- if(ang < -360)
- {
- return ang + 360;
- }
- return ang;
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(26)] = function(ang)
- {
- while(ang < 0)
- {
- ang += 360;
- }
- return ang % 360;
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(27)] = function(ang1, ang2)
- {
- var _loc3_ = f.h[§§constant(4)][§§constant(26)](ang1);
- var _loc2_ = f.h[§§constant(4)][§§constant(26)](ang2);
- var _loc1_ = eval(§§constant(7))[§§constant(8)](_loc3_ - _loc2_);
- if(_loc1_ > 180)
- {
- _loc1_ = 180 - (_loc1_ - 180);
- }
- return _loc1_;
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(28)] = function(ang)
- {
- return ang / 180 * 3.141592653589793;
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(29)] = function(x, y, tx, ty, bstart)
- {
- var _loc2_ = f.h[§§constant(30)][§§constant(31)](0,0,tx,ty) + bstart;
- var _loc1_ = f.h[§§constant(4)][§§constant(23)](0,0,tx,ty);
- return {(§§constant(32)):x + eval(§§constant(7))[§§constant(33)](_loc2_ * 3.141592653589793 / 180) * _loc1_,(§§constant(34)):y - eval(§§constant(7))[§§constant(35)](_loc2_ * 3.141592653589793 / 180) * _loc1_};
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(36)] = function(x0, y0, ang, dist)
- {
- return {(§§constant(32)):x0 + eval(§§constant(7))[§§constant(33)](ang * 3.141592653589793 / 180) * dist,(§§constant(34)):y0 - eval(§§constant(7))[§§constant(35)](ang * 3.141592653589793 / 180) * dist};
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(37)] = function(chancePerc)
- {
- var _loc1_ = eval(§§constant(7))[§§constant(10)](100 * eval(§§constant(7))[§§constant(38)]());
- return _loc1_ <= chancePerc;
- };
- f.h[§§constant(4)] = function()
- {
- }[§§constant(39)] = function(base, maxDeviation, direction)
- {
- var _loc1_ = undefined;
- var _loc3_ = eval(§§constant(7))[§§constant(38)]() * maxDeviation / 100 * base;
- if(direction == §§constant(40))
- {
- _loc1_ = 1;
- }
- else if(direction == §§constant(41))
- {
- _loc1_ = -1;
- }
- else
- {
- _loc1_ = eval(§§constant(7))[§§constant(38)]() >= 0.5 ? 1 : -1;
- }
- var _loc2_ = base + _loc1_ * _loc3_;
- return _loc2_;
- };
- §§push(§§constant(42)(f.h[§§constant(4)][§§constant(5)],null,1));
- }
- §§pop();
-